< previous page page_145 next page >

Page 145
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRORLandscape. The top of the page is along the long edge of the paper (sideways).
Page. Returns the current page number. Visual Basic resets this count when you finish printing using the EndDoc method.
PaperBin. Determines the default bin from which paper feeds. For printers with the corresponding paper bins, you can use the following values. The values vbPRBNManual and vbPRBNEnvManual are particularly useful when the user must insert a special form or envelope before the program prints.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNUpper. Use the upper bin.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNLower. Use the lower bin.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNMiddle. Use the middle bin.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNManual. Wait for manual insertion of each sheet.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNEnvelope. Use the envelope feeder.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNEnvManual. Wait for manual insertion in the envelope feeder.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNAuto. Use the current default bin.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNTractor. Use the tractor feeder.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNSmallFmt. Use the small bin.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNLargeFmt. Use the large bin.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNLargeCapacity. Use the large-capacity bin.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRBNCassette. Use the paper cassette cartridge.
PaperSize. Tells the printer the paper's size if you do not use the Width and Height properties. This property can take dozens of different values ranging from Folio to German Legal Fanfold. Read the online help for a complete list of possible values. Some of the more useful values include:
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRPSLetter. Letter, 8 1/2 x 11 inches.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRPSLegal. Legal, 8 1/2 x 14 inches.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRPSEnv10. Envelope #10, 4 1/8 x 9 1/2 inches.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRPSEnvPersonal. Personal envelope, 3 5/8 x 6 1/2 inches.
PrintQuality. Determines the printer's resolution. You can specify a resolution in dots per inch (DPI) or you can use one of the values:
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRPQDraft. Draft resolution.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRPQLow. Low resolution.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRPQMedium. Medium resolution.
e10a6a0a59f035e870d90cca05b85fce.gif
vbPRPQHigh. High resolution.
TrackDefault. Determines whether the Printer object stays the same when you change the default printer using the Windows Control Panel. Normally, TrackDefault is true and the Printer object changes to indicate the new printer the user selects using the Control Panel. If TrackDefault is false, the Printer object continues to indicate the same printer, even if the user changes the default printer.

 
< previous page page_145 next page >